package com.qf.hospital.system.mapper;

import com.qf.hospital.system.entity.Departments;

import java.util.List;

public interface DepartmentsMapper {
    int deleteByPrimaryKey(Integer departmentId);

    int insert(Departments record);

    int insertSelective(Departments record);

    Departments selectByPrimaryKey(Integer departmentId);

    int updateByPrimaryKeySelective(Departments record);

    int updateByPrimaryKey(Departments record);

    // 查询全部
    List<Departments> findAll();
}